Skip to main content

ARCamera

The player's camera, used for AR devices.


CFrame

It is of the type CFrame. It is read-only, it cannot be assigned to.


CameraType

It is of the type Enum.CameraType. It is read-only, it cannot be assigned to.


DiagonalFieldOfView

It is of the type number. It is read-only, it cannot be assigned to.


FieldOfView

It is of the type number. It is read-only, it cannot be assigned to.


FieldOfViewMode

It is of the type Enum.FieldOfViewMode. It is read-only, it cannot be assigned to.


Focus

It is of the type CFrame. It is read-only, it cannot be assigned to.


HeadScale

It is of the type number. It is read-only, it cannot be assigned to.


MaxAxisFieldOfView

It is of the type number. It is read-only, it cannot be assigned to.


NearPlaneZ

It is of the type number. It is read-only, it cannot be assigned to.


RenderCFrame

The CFrame the camera is rendered at (for VR). It is of the type CFrame. It is read-only, it cannot be assigned to.


ViewportSize

The size of the camera viewport. It is of the type Vector2. It is read-only, it cannot be assigned to.


ViewportSizeUI

The size of the camera viewport (2D UI context) It is of the type Vector2. It is read-only, it cannot be assigned to.

Luau Type

This is the luau type for ARCamera. It may help clear up mistranslations from the raw data to the wiki page (as it is an automatic process).

export type ARCamera = {
read FieldOfViewMode: Enum.FieldOfViewMode,
read FieldOfView: number,
read CFrame: CFrame,
read NearPlaneZ: number,
read ViewportSizeUI: Vector2,
read RenderCFrame: CFrame,
read CameraType: Enum.CameraType,
read Focus: CFrame,
read HeadScale: number,
read ViewportSize: Vector2,
read MaxAxisFieldOfView: number,
read DiagonalFieldOfView: number,
}